package com.nsl.my_youlai.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nsl.my_youlai.common.base.BaseEntity;
import lombok.Data;

@Data
@TableName(value = "major_category")
public class MajorCategoryEntity extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    private String name;
    private String code;
    private String intactCode;
    private Integer level;
    private String label;
    private Integer levelSort;

    /**
     * 逻辑删除标识(0-未删除；1-已删除)
     */
    private Integer deleted;
}
